package com.chat.admin.domain.DTO.EDIT;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EditAuthorityDTO {
    @NotNull(message = "id不能为空")
    private Long id;// id
    @NotBlank(message = "权限名不能为空")
    private String name;// 权限名字
    private String description;// 权限描述
}
